C++ : Fastest Way To Calculate Minimum Euclidean Distance Between Two Matrices Containing High Dimen